package wang.Stream;

import java.util.Arrays;
import java.util.function.IntConsumer;
import java.util.stream.Stream;

public class arr {
    public static void main(String[] args) {
        int[] arr={10,20,554,13,35,44};
        Arrays.stream(arr).forEach(value -> System.out.println(value));
        Stream.of(arr).forEach(s->System.out.println(s));
    }
}
